package com.food.user.exception.dietTimeConfigException;

public enum DietTimeConfigExceptionCode {
   CONFIG_IS_NOT_EXIST(7001,"该商铺还没有用餐时间配置表"),
    CONFIG_IS_ALREADY_EXIST(7002,"该类型用餐时间配置表已存在"),
    CONFIG_IS_NOT_YOURS(7003,"非法操作");
    Integer code;
    String message;

    DietTimeConfigExceptionCode(Integer code, String message){
        this.code=code;
        this.message=message;
    }

    public Integer getCode(){return code;}
    public String getMessage(){return message;}
}
